package com.jk.hly.bean;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Data
@Document(collection = "t_register")
public class RegisterLog {
    private String id;
    private String sengEmail;
    private String receiveEmail;
    private Date sendTime;
    private String text;

    public RegisterLog(String sengEmail, String receiveEmail, Date sendTime, String text) {
        this.sengEmail = sengEmail;
        this.receiveEmail = receiveEmail;
        this.sendTime = sendTime;
        this.text = text;
    }
}
